<?php include './application/views/zhs_mobile/header.php';?>
<section class="invbd main">
   <h3 class="logtitle">银行卡绑定</h3>
   <table class="wqtqb mt" id="cashed_tab">
    <?php if(isset($bank0)){ ?>
    <ul class="membank_bd">
		<li class="bank_top">
		<h3><div class="bankimg"></div><?php echo $bank_list [$bank0['bank']];?><div class="avbb"><?php if ($bank0 ['default_flag'] == 1) { ?>
	           		默认
	           	<?php } ?></div></h3>
		<a href="#">已绑定</a></li>
		<li class="bank_bd">
	            卡号：<?php echo strdisplay ( $bank0['account'], 4 ); ?><br>
				户名：<?php echo strdisplay ( $user ['realname'], 1 ); ?><br>
				开户支行：<?php echo isset ( $bank0['province'] ) ? $area [$bank0 ['province']] : ''; ?>
				<?php echo isset ( $bank0['city'] ) ? $area [$bank0['city']] : ''; ?>
				<?php echo isset ( $bank0['area'] ) ? $area [$bank0['area']] : ''; ?>
				<?php echo $bank0['branch']; ?>
		</li>
	           
       </ul>  
       <?php }else {?>
       	
       <?php }if(isset($bank1)){ ?>
        <ul class="membank_bd">
	<li class="bank_top">
	<h3><div class="bankimg"></div><?php echo $bank_list [$bank1['bank']]; ?> <div class="avbb"><?php if ($bank1 ['default_flag'] == 0) { ?>
           		默认
           	<?php } ?></div></h3>
	<a href="#">已绑定</a></li>
	<li class="bank_bd">卡号：<?php echo strdisplay ( $bank1['account'], 4 ); ?><br>
			户名：<?php echo strdisplay ( $user ['realname'], 1 ); ?><br>
			开户支行：<?php echo isset ( $bank1['province'] ) ? $area [$bank1 ['province']] : ''; ?>
			<?php echo isset ( $bank1['city'] ) ? $area [$bank1['city']] : ''; ?>
			<?php echo isset ( $bank1['area'] ) ? $area [$bank1['area']] : ''; ?>
			<?php echo $bank1['branch']; ?>
	</li>      
</ul>
       <?php }?>
         
   </table>
</section>
<?php include './application/views/zhs_mobile/footer.php';?>